<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="${ pageContext.request.contextPath }/resources/css/bootstrap.min.css">
</head>
<body>
<jsp:include page="head.jsp"></jsp:include>
<h4>上传照片成功,照片如下，3秒后跳转到主页...（或者您可以点击上面链接马上跳转）</h4>
<div class="well-lg">
照片效果：<br>
<img width="200px" src="<%= request.getContextPath()+"/images/"+request.getAttribute("upic") %>">
</div>
<%response.setHeader("refresh", "3;url=view/index.jsp");%>
</body>
</html>